package com.bootdo.staticmask.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.staticmask.dao.MaskJobDao;
import com.bootdo.staticmask.domain.MaskJobDO;
import com.bootdo.staticmask.service.MaskJobService;



@Service
public class MaskJobServiceImpl implements MaskJobService {
	@Autowired
	private MaskJobDao maskJobDao;
	
	@Override
	public MaskJobDO get(Integer jobId){
		return maskJobDao.get(jobId);
	}
	
	@Override
	public List<MaskJobDO> list(Map<String, Object> map){
		return maskJobDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return maskJobDao.count(map);
	}
	
	@Override
	public int save(MaskJobDO maskJob){
		return maskJobDao.save(maskJob);
	}
	
	@Override
	public int update(MaskJobDO maskJob){
		return maskJobDao.update(maskJob);
	}
	
	@Override
	public int remove(Integer jobId){
		return maskJobDao.remove(jobId);
	}
	
	@Override
	public int batchRemove(Integer[] jobIds){
		return maskJobDao.batchRemove(jobIds);
	}
	
}
